<?php
require $this->__RAD__ . 'component/global/head.php';
?>

<?php
require $this->__RAD__ . 'component/global/nav.php';
?>


<!-- 内容 -->
<div class="wrap">
    <div class="banner">
        <img src="<?= $this->__STATIC__ ?>images/product/banner.jpg">
    </div>
    <div class="allTitle">
        <div class="width">
            <div class="contain clearboth">
                <div class="left">
                    <div class="swiper-container titSwiper">
                        <div class="swiper-wrapper">
                            <?php
                                if (is_array($this->product_category) && $this->product_category) :
                                    foreach ($this->product_category as $key => $val) :
                            ?>
                                        <?php if (isset($val['id_tree']) && $val['language'] == $this->__LANGUAGE_ID__):
                                        $_tmpLink = App\Tools\UrlHelper::getTypeUrl($this->aryCategoryDataView, $val['id_tree']);
                                    endif; ?>
                            <div class="swiper-slide
                                    <?php if ($key == (INT)$this->parentId) : ?>
                                        cur
                                    <?php endif; ?>
                                    ">
                                <a href="<?= $_tmpLink ?>">
                                    <?= $val['category_name'] ?>
                                </a>
                            </div>
                                <?php endforeach; ?>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
                <div class="right">
                    <p>
                        <?= $this->getBreadcrumb ?>
                    </p>
                </div>
            </div>
        </div>
    </div>
    <div class="proDetail">
        <div class="page1">
            <div class="width">
                <div class="contain">
                    <div class="top">
                        <div class="nav clearboth">
                            <?php
                            if ($this->pics) :
                            ?>
                            <div class="left">
                                <div class="swiper-container deSwiperT">
                                    <div class="swiper-wrapper">
                                        <?php
                                            foreach ($this->pics as $val) :
                                            ?>
                                            <div class="swiper-slide">
                                                <a href="javascript:;">
                                                    <em></em>

                                                        <img src="<?= $this->__CDN__ ?>pics/l/<?= $val->image ?>">
  
                                                </a>
                                            </div>
                                          <?php
                                            endforeach;
                                            ?>
                                    </div>
                                </div>
                                <div class="proSn">
                                    <div class="swiper-container deSwiperB">
                                        <div class="swiper-wrapper">
                                            <?php
                                            foreach ($this->pics as $val) :
                                            ?>
                                            <div class="swiper-slide">
                                                <a href="javascript:;">
                                                    <em></em>

                                                        <img src="<?= $this->__CDN__ ?>pics/l/<?= $val->image ?>">
  
                                                </a>
                                            </div>
                                          <?php
                                            endforeach;
                                            ?>
                                        </div>
                                    </div>
                                    <div class="swiper-button-prev dePrevB">
                                        <span></span>
                                    </div>
                                    <div class="swiper-button-next deNextB">
                                        <span></span>
                                    </div>
                                </div>
                            </div>
                            <?php
                            endif;
                            ?>
                            <div class="right clearboth">
                                <p>
										<span>
											<?= $this->title ?>
										</span>
                                    <em>
                                        应用范围：
                                    </em>
                                    <i>
                                        <?php
                                        if ($this->synopsis) :
                                            $synopsis = explode('#@#', $this->synopsis);
                                        foreach ($synopsis as $val) :
                                        ?>
                                            <?= $val . '<br />' ?>
                                        <?php
                                        endforeach;
                                        endif;
                                        ?>
                                    </i>
                                </p>
                                <div class="shares clearboth">
										<span>
											分享：
										</span>
                                    <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a></div>
                                    <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"2","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="cen">
                        <div class="cTop">
                            <ul class="clearboth">
                                <li>
                                    <a href="javascript:;">
                                        主要参数
                                    </a>
                                </li>
                                <li>
                                    <a href="javascript:;">
                                        机构优点
                                    </a>
                                </li>
                            </ul>
                        </div>
                        <div class="cNav">
                            <div class="content content2">
                                <?= $this->substance ?>
                            </div>
                            <div class="content content1">
                                <p>
                                    <?php
                                    if ($this->advantage_synopsis) :
                                        $advantage_synopsis = explode('#@#', $this->advantage_synopsis);
                                        foreach ($advantage_synopsis as $val) :
                                            ?>
                                            <?= $val . '<br />' ?>
                                            <?php
                                        endforeach;
                                    endif;
                                    ?>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 右侧 -->
<?php
    require $this->__RAD__ . 'component/global/right.php';
?>
<?php
    require $this->__RAD__ . 'component/global/footer.php';
?>

<script type="text/javascript">
    $(function(){
        switchs(".page1 .cen .cTop ul li",".page1 .cen .cNav .content");
        switchs(".page1 .top .nav .left .deSwiperB .swiper-wrapper .swiper-slide",".page1 .top .nav .left .deSwiperT .swiper-wrapper .swiper-slide");
        proDetail();
    })
</script>